import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'


//引入echarts
import * as echarts from 'echarts';

import { createPinia } from 'pinia'

const pinia = createPinia()

import router from './router'

import 'virtual:svg-icons-register'
import '@/utils/flexible.js'


const app = createApp(App)
// console.log(import.meta.env)

app.use(router)
app.use(ElementPlus)
app.use(pinia)
app.config.globalProperties.$echarts = echarts
app.mount('#app')
